Skip to content

Conversation

@penalosa
Copy link
Contributor

@penalosa penalosa commented Dec 6, 2024

Fixes #2620

This is a non-breaking fix for #2620 that modifies wrangler kv bulk delete to additionally accept the output format from wrangler kv key list. The (breaking) proposed solution in the issue of modifying wrangler kv key list to output an array of strings turned out not to be viable because of the additional metadata added to the output in that command: expiration & metadata.


@penalosa penalosa requested review from a team as code owners December 6, 2024 13:29
@changeset-bot
Copy link

changeset-bot bot commented Dec 6, 2024

🦋 Changeset detected

Latest commit: 8c0670f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
wrangler Minor
@cloudflare/vitest-pool-workers Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions
Copy link
Contributor

github-actions bot commented Dec 6, 2024

A wrangler prerelease is available for testing. You can install this latest build in your project with:

npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/12302011243/npm-package-wrangler-7479

You can reference the automatically updated head of this PR with:

npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/prs/7479/npm-package-wrangler-7479

Or you can use npx with this latest build directly:

npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/12302011243/npm-package-wrangler-7479 dev path/to/script.js
Additional artifacts:
npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/12302011243/npm-package-create-cloudflare-7479 --no-auto-update
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/12302011243/npm-package-cloudflare-kv-asset-handler-7479
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/12302011243/npm-package-miniflare-7479
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/12302011243/npm-package-cloudflare-pages-shared-7479
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/12302011243/npm-package-cloudflare-vitest-pool-workers-7479
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/12302011243/npm-package-cloudflare-workers-editor-shared-7479
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/12302011243/npm-package-cloudflare-workers-shared-7479
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/12302011243/npm-package-cloudflare-workflows-shared-7479

Note that these links will no longer work once the GitHub Actions artifact expires.


[email protected] includes the following runtime dependencies:

Package Constraint Resolved
miniflare workspace:* 3.20241205.0
workerd 1.20241205.0 1.20241205.0
workerd --version 1.20241205.0 2024-12-05

Please ensure constraints are pinned, and miniflare/workerd minor versions match.

@penalosa penalosa merged commit 2780849 into main Dec 17, 2024
29 of 30 checks passed
@penalosa penalosa deleted the penalosa/kv-bulk-format branch December 17, 2024 10:00
penalosa added a commit that referenced this pull request Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Change the output format of wrangler kv:key list --namespace-id command

3 participants